package com.study.talk.module.service;

import com.study.talk.module.entity.GroupUserInfo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author thor
 * @since 2023-12-18
 */
public interface GroupUserInfoService extends IService<GroupUserInfo> {
    void addMember(Integer groupId, Integer userId);

    void removeMember(Integer groupId, Integer userId);

    void removeAllMember(Integer groupId);
    boolean queryHasMember(Integer groupId, Integer userId);

    void deleteMember(Integer userId,Integer groupId);

}
